package com.eascs.web.demo.action;

import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author zhengmuwang
 *
 */
@XmlRootElement
public class ActionForm {
	@NotEmpty(message = "登录名非空")
	private String name;
	@NotEmpty(message = "登录密码非空")
	private String password;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
